<div class="bg-light lter b-b wrapper-md">
    <div><h1 class="m-n font-thin h3">我参与的流程</h1></div>
</div>
<div class="" ng-controller="bpmExecutionListController">
  <div class="panel panel-default">
    <div class="panel-body b-b b-light">
      过滤: <input id="filter" type="text" class="form-control input-sm w-sm inline m-r"/>
    </div>
    <div>
      <table class="table m-b-none" ui-jq="footable" data-filter="#filter" ui-options="{paginate : false}">
        <thead>
			<tr>
                <th data-type="numeric">执行ID</th>
                <th data-type="numeric">流程实例ID</th>
                <th>所属流程</th>
                <th>流程定义ID</th>
                <th data-sort-ignore="true">当前节点</th>
			</tr>
		</thead>
        <tbody>
          <tr ng-repeat="df in list" >
              <td ng-bind="df.id"></td>
              <td ng-bind="df.processInstanceId"></td>
              <td ng-bind="map.definitions[df.processDefinitionId].name"></td>
              <td ng-bind="df.processDefinitionId"></td>
              <td>
                  <span ng-repeat="acid in map.currentActivityMap[df.id]">
                      <a ui-sref="app.bpm.manager.process.trace.view({executionId:{{map.taskMap[acid].executionId}} })">
                          <span ng-if="map.taskMap[acid].processDefinitionId != df.processDefinitionId" title='引用了外部流程'>{{map.definitions[map.taskMap[acid].processDefinitionId].name}}</span>
                          <i ng-if="map.taskMap[acid].processDefinitionId != df.processDefinitionId" style="margin-left: 0.5em;" class="glyphicon glyphglyphicon glyphicon-circle-arrow-right"></i>
                           {{map.taskMap[acid].name}}
                      </a>
                      <span ng-if="!map.taskMap[acid].assignee">（<span class="text-info">未签收</span>）</span>
                      <span ng-if="map.taskMap[acid].assignee">（<span class="text-info">办理中</span><i class="glyphicon glyphglyphicon glyphicon-user"></i><span class="text-success">{{map.taskMap[acid].assignee  | sys_user_Fiter : 'name'}}</span>）</span>
                  </span>
              </td>
          </tr>
        </tbody>
        <tfoot>
          <tr>
              <td colspan="5">
                  <div class="pull-right">
                      <uib-pagination class="pull-right padder-lg" total-items="page.total" ng-model="page.currentPage" items-per-page="page.pageSize" max-size="5" class="m-t-none m-b" boundary-links="true" rotate="true" previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></uib-pagination>
                      <!--<div class="pull-right m-t-none m-b">-->
                          <!--共{{page.total}}条-->
                      <!--</div>-->
                  </div>
              </td>
          </tr>
        </tfoot>
      </table>
    </div>
  </div>
</div>